
         <div class="main-right">
              <div class="main-right-header">
                   <p class="now-nav">您现在操作的是：<span>项目管理</span></p>
              </div>
              <div class="blank1"></div>
              <!-- *************************************每个连接实现的内容***************************************** -->
              
              
             <div class="content">
             	<div class="message">
             	    <ul style="border:0px; ">
             	        <li>
             		        <?php  echo $this->message->all(); ?>
             		    </li>
             		</ul>
             	</div>
                <form action ="<?php echo site_url('manage/article/project/update') ?>" id="data-form" class="form1" method="post" >
              	     <table class="article-table add-table">
                        <tr>
                           <td style="width:100px; ">所属语言：</td>
                           <td>
                               <select name="language">
                                     <?php 
                                     foreach($language_list as $language_row):
                                     ?>
                                     <option> <?php echo $language_row['name'];  ?></option>
                                     <?php 
                                     endforeach;
                                     ?>
                               </select>
                            </td>
                        </tr>
                        <tr>
                             <td>项目名称：</td>
                             <td>
                                 <input type="text" name="name" 
                                 class="{required:true, maxlength:40, messages:{required:'项目名称不能为空', maxlength:'项目名称不能超过40个字符'}}" />
                             </td>
                         </tr>

                         <tr>
                             <td>服务项目：</td>
                             <td>
                                 <span id="service_list"></span> 
                                 <a id="select-service" href="javascript:void(0);">选择服务项目</a>
                                 <input type="hidden" id="service_id_string" name="service_id_string" value="" 
					                    class="{required:true, messages:{required:'服务项目不能为空'}}" /> 
                             </td>
                         </tr>
                         <tr>
                            <td>关键字描述：</td>
                            <td><input type="text" name="words" class="{required:true, messages:{required:'关键字不能为空'}}"/></td>
                         </tr>
                         <tr>
                             <td>描述：</td>
                             <td><input type="text" name="description" class="{required:true, messages:{required:'描述不能为空'}}"/></td>
                         </tr>
                         <tr>
                            <td>url_pattern：</td>
                            <td><input type="text" name="url_pattern" class="{required:true, messages:{required:'项目url_pattern不能为空'}}" /></td>
                         </tr>
                         <tr>
                             <td>项目摘要：</td>
                             <td colspan="2"><textarea cols="60" rows="3" name="summary" class="{required:true, messages:{required:'项目摘要不能为空'}}"></textarea></td>
                         </tr>
                         <tr>
                             <td>项目介绍：</td>
                             <td colspan="2"><textarea cols="60" rows="5" name="content" class="{required:true, messages:{required:'项目内容不能为空'}}"></textarea></td>
                         </tr>
              		      <tr>
              		          <td>&nbsp;</td>
              		          <td>
              		              <input type="submit" name="submit-article" value="确认修改"/>
              		          </td>
              		     </tr>
              	    </table>
              </form>
          </div>
          <div class="service-dialog" title="选择服务项目" style="display:none; " >
          	   <ul>
	               <?php foreach($service_list as $service) {?>
		           <li>
			           <input type="checkbox" id="service_id" name="service_id" value="<?php echo $service['id'] ?>" title="<?php echo $service['name'] ?>" />
			           <span><?php echo $service['name'] ?></span>
		           </li>	
	              <?php } ?>
	          </ul>
         </div>              
    </div>

    
    